package player

import "GameServer/Game/sp"

func (p *Player) SetReqRequest(req *sp.SetReqRequest) (res *sp.SetReqResponse) {
	res = &sp.SetReqResponse{
		Sets: p.User.GetUserSets(),
	}
	return
}

func (p *Player) SetUpdateRequest(req *sp.SetUpdateRequest) (res *sp.SetUpdateResponse) {
	p.User.UpdateUserSet(req.Sets)
	res = &sp.SetUpdateResponse{}
	return
}
